﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PALMS.Model.Transformers
{
    // Values must be in sync with DB table TransformerTypes.
    public enum TransformerTypeEnum
    {
        /// <summary>
        /// Implements the identity function.
        /// </summary>
        Identity = 0,
        /// <summary>
        /// Outputs context information.
        /// </summary>
        Debug = 1,
        /// <summary>
        /// Returns a constant specified value as output.
        /// </summary>
        ConstantValue = 2,
        /// <summary>
        /// Applies a value mapping, represented as a dictionary.
        /// </summary>
        ValueMapping = 3,
        /// <summary>
        /// Performs a custom transformation, given as source code.
        /// </summary>
        CustomCSharp = 4
    }
}
